package com.car.loan.project.xr.mapper;

import com.car.loan.project.xr.domain.CustomerDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * 客户详情信息Mapper接口
 *
 * @author ruoyi
 * @date 2019-11-03
 */
@Repository
public interface CustomerDetailMapper extends BaseMapper<CustomerDetail> {


    @Select("select * from xr_customer_detail where customer_id =#{customerId}")
    CustomerDetail selectByCustomerId(@Param("customerId") long customerId);
}
